﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Project.Models.System.DepartmentFile
{
    /// <summary>
    /// 部门表
    /// </summary>
    public class Department:BaseEntity
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 上级部门Id
        /// </summary>
        public long? ParentDepartment { get; set; }
        [SugarColumn(IsIgnore = true)]
        public Department Department1 { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool IsState { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
